export interface TodoType {
    id: string;
    thing: string;
    done: boolean;
}
export type TodosType  = TodoType[];

export interface todoListPropsType {
    todoList: TodosType;
    isCheckedAll: Function;
    deleteCheckedAll: Function;
}

//扩展EvenetTarget类型
export interface event extends EventTarget{
    value:string;
}